import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';
import { Slider as AntdSlider } from 'antd';
import React from 'react';
import createField from '../../createField';
var Slider = function Slider(props) {
  return /*#__PURE__*/ React.createElement(AntdSlider, _objectSpread({}, props));
};
export default createField(Slider, {
  defaultDetailComponent: function defaultDetailComponent(props) {
    return /*#__PURE__*/ React.createElement(
      Slider,
      _objectSpread(
        _objectSpread({}, props),
        {},
        {
          disabled: true,
        },
      ),
    );
  },
});
